<reg_getvalue> : Get Registry Value

This command retrieves defined registry value.

Syntax: 

<reg_getvalue>("RegKey", "ValueIdentifier", "Variable")

RegKey
Full path of registry key to be deleted.  Example: HKEY_CURRENT_USER\Software\MyCompany\NewKey

ValueIdentifier
Name of the value.  Example: ProductName.

Variable
Variable that receives value retrieved.

 

Example: 

<#> This command retrieves ProductName value
<#> of 'HKEY_CURRENT_USER\Software\TestKey'
<cmds>
<reg_getvalue>("HKEY_CURRENT_USER\Software\TestKey","ProductName","v")
<msg>(-100,-100,"The retrieved value: %v%","Message",1)